package com.kai.lib_app.helper

import com.alibaba.android.arouter.facade.annotation.Route
import com.kai.lib_app.core.RouterHub
import com.kai.lib_app.utlis.BundleKey

/**
 * @Author: 小强同学
 * @Date:  2021/6/24 15:33
 * @Description:  提供公共跳转类
 */
/**
 * 打开漫画详情页面
 */
fun launchReadingListActivity(urlIndex: String? = null,title: String? = null) {
    RouteHelper.navigation(
        RouteHelper.navigationPostcard(RouterHub.ROUTER_PUBLIC_FRAGMENT_LIST)
            .withString(BundleKey.READING_TITLE, title)
            .withString(BundleKey.READING_INDEX, urlIndex)
    )
}